package com.thm.tfast.modules.sys.model.vo.user;

import com.thm.tfast.modules.sys.model.vo.menu.MenuVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author THM
 * @date 2022/10/26
 * @desc 用户信息
 */
@Data
@ApiModel(value="UserInfoVo对象", description="用户信息")
public class UserInfoVo implements Serializable {
    private static final long serialVersionUID = 2095002392257892027L;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "头像文件ID")
    private Long icon;
    @ApiModelProperty(value = "菜单集合")
    private List<MenuVo> menus;
    @ApiModelProperty(value = "角色集合")
    private List<String> roles;
}
